#ifndef FRIENDINFOWINDOW_H
#define FRIENDINFOWINDOW_H

#include <QWidget>
#include <QCloseEvent>
#include"publicstruct.h"

namespace Ui {
class FriendInfoWindow;
}

//好友信息窗体
class FriendInfoWindow : public QWidget
{
    Q_OBJECT

public:
    explicit FriendInfoWindow(struct st_friendData data,QWidget *parent = nullptr);
    ~FriendInfoWindow();

signals:
    void sig_infoWindowShow(int fid);
protected:
    //重写窗口关闭事件
//    void closeEvent(QCloseEvent *event)override;

private slots:
    void on_btn_send_clicked();

private:
    Ui::FriendInfoWindow *ui;
    struct st_friendData m_fdata;
};

#endif // FRIENDINFOWINDOW_H
